<?php
require "../common.php";

$id = $_GET['id'];
$mysqli->query("delete from `article` where `id` = '$id'");
echo "<script>alert('删除成功');location.href='article.php';</script>";